package cn.com.shinho.hg.auth.modular.service.impl;

import cn.com.shinho.hg.auth.modular.entity.TbSysSecret;
import cn.com.shinho.hg.auth.modular.mapper.TbSysSecretMapper;
import cn.com.shinho.hg.auth.modular.service.ISysSecretService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: hg-server-parent
 * @description: ${description}
 * @author: Mr.Ye
 * @create: 2018-08-08
 **/
@Service
public class SysSecretServiceImpl implements ISysSecretService {


    @Autowired
    private TbSysSecretMapper secretMapper;

    @Override
    public List<TbSysSecret> getSecretsList(String appId) {
        TbSysSecret secrets = new TbSysSecret();
        secrets.setAppId(appId);
        return secretMapper.select(secrets);

    }


}
